import {buildQuery} from '../../../utils/url';

export const userInfoAPI = (name) => {
  return `/member/user/userInfo`;
};

export const userMessageAPI = () => {
  return `/member/user/userMessage`;
}

export const chargeRecordHistoryAPI = () => {
  return `/member/user/depositHistory`;
}

export const systemMessageAPI = () => {
  return `/member/user/systemMessage`;
}

export const readMessageAPI = () => {
  return `/member/user/readMessages`;
};

export const loadPlatformItemsAPI = () => {
  return `/electronic/flat`;
};

export const loadEduPlatformItemsAPI = () => {
  return `/electronic/edu`;
}

export function loadPlatformBalanceAPI() {
  return `/flat/balance`;
};

export function transferToSystemAPI() {
  return `/flat/withdraw`;
};

export function transferToPlatformAPI() {
  return `/flat/deposit`;
};

export function orderHistoryAPI() {
  return `/member/user/flatRecord`;
};

export function transferLogAPI() {
  return `/member/user/eDuHistory`;
}

export function changePwdAPI() {
  return `/member/user/changePassword`;
}

export function changeWithdrawAPI() {
  return `/member/user/changeWithdrawPwd`;
}

export function withdrawLogsAPI() {
  return `/member/user/withdrawHistory`;
}

export function deleteMessageAPI() {
  return `/member/user/deleteMessages`;
}

export function payWithOnlineQuickAPI() {
  return `/member/user/onlineFastPay`;
}

export function onlineQuickPaymentsAPI() {
  return `/member/user/selectFastPayList`;
}

export function companyQuickPaymentsAPI() {
  return `/member/user/selectIncFastPayList`;
}

export function companyBankPaymentsAPI() {
  return `/member/user/selectIncBankPayList`;
}

export function saveCompanyThirdPaymentAPI() {
  return `/member/user/saveIncFastPay`;
}

export function saveCompanyBankPaymentAPI() {
  return `/member/user/saveIncBankPay`;
}

export function userBankListAPI() {
  return `/member/user/selectUserBankList`;
}

export function bankCodesAPI() {
  return `/member/user/selectBankCodeInfo`;
}

export function saveBankAPI() {
  return `/member/user/bindBank`;
}

export function userWithdrawAPI() {
  return `/member/user/withdraw`;
}

export function loginAPI() {
  return `/user/login`;
}

export function registerAPI() {
  return `/user/register`;
}

export function logoutAPI() {
  return `/user/logout`;
}

export function banklistAPI() {
  return `/member/user/selectBankCodeInfo`;
}

export function securityInfoAPI(){
  return `/member/user/selectUserLoginLog`;
}

export function changeUserBasicInfoAPI(){
  return `/member/user/changeUserBasicInfo`;
}

export function chargePaymentItemsAPI() {
  return `/member/user/selectPayList`;
}

export function saveScanPaymentAPI() {
  return `/member/user/saveScanCodePay`;
}
 
export function agentInfoAPI() {
  return `/member/user/selectAgentInfo`;
}

export function agentApplyAPI() {
  return `/member/user/saveAgentApply`;
}